
import { passwordCheck, phoneCheck, emialCheck, idcardCheck,accountCheck } from '@/utils/rulesFunction';


export const rules = {
  entryTime: [
    { required: true, trigger: 'blur', message: '请输入入职时间' },
  ],
  loginPwd: [{ required: true, trigger: 'blur', validator: passwordCheck },],
  phone: [{ required: true, trigger: 'blur', validator: phoneCheck }],
  email: [{ required: true, trigger: 'blur', validator: emialCheck },],
  idcard: [{ required: true, trigger: 'blur', validator: idcardCheck }],
  userName: [{ required: true, trigger: 'blur', message: '请输入员工姓名' }],
}

